package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商家保证金主表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("store_cash_deposit")
public class StoreCashDeposit extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城店铺主键id
     */
    @TableField("store_id")
    private Long storeId;
    /**
     * 可用金额
     */
    @TableField("current_balance")
    private BigDecimal currentBalance;
    /**
     * 已缴纳金额
     */
    @TableField("total_balance")
    private BigDecimal totalBalance;
    /**
     * 最后一次缴纳时间
     */
    @TableField("last_pay_date")
    private LocalDateTime lastPayDate;
    /**
     * 是否显示标志，只有保证金欠费该字段才有用，默认显示
     */
    @TableField("enable_labels")
    private Boolean enableLabels;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
